﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ListenMusic.Models.Public;


namespace ListenMusic.Controllers
{
    public class ApplicationController : Controller
    {

        private AlbumRepository _rep = new AlbumRepository();       
        private CountryRepository _country = new CountryRepository();
        public ApplicationController() {
            ViewBag.albums = _rep.getAllAlbum();            
            ViewBag.country = _country.getAllCountry();            
           
        }
    }
}
